<#include "/common/_header.html" />
<div class="page-group"><!-- 页面组 -->
	<div class="page page-current"><!-- 页面组中的每一个页面，可以互相跳转 -->
		<header class="bar bar-nav"><!-- 每个页面的头部 -->
			<h1 class="title" style="font-size: 1rem;">我的</h1>
		</header>
		<nav class="bar bar-tab">
		    <a ${(status?? && status = "0")?string('class="tab-item external active"','class="tab-item external"')} href="${path}/discounts?status=0">
		        <span class="iconfont icon-new" style="display:block;font-size:1.3rem;margin-bottom: -0.5rem;"></span>
		        <span class="tab-label" style="font-size:0.5rem;">发布中</span>
		    </a>
		    <a ${(status?? && status = "1")?string('class="tab-item external active"','class="tab-item external"')} href="${path}/discounts?status=1">
		        <span class="iconfont icon-countdown" style="display:block;font-size:1.3rem;margin-bottom: -0.5rem;"></span>
		        <span class="tab-label" style="font-size:0.5rem;">待发布</span>
		    </a>
		    <a ${(status?? && status = "2")?string('class="tab-item external active"','class="tab-item external"')} href="${path}/discounts?status=2">
		        <span class="iconfont icon-close" style="display:block;font-size:1.3rem;margin-bottom: -0.5rem;"></span>
		        <span class="tab-label" style="font-size:0.5rem;">已失效</span>
		    </a>
		    <a ${(status?? && status = "9")?string('class="tab-item external active"','class="tab-item external"')} href="${path}/discounts/configs?status=9">
		        <span class="iconfont icon-settings" style="display:block;font-size:1.3rem;margin-bottom: -0.5rem;"></span>
		        <span class="tab-label" style="font-size:0.5rem;">我的</span>
		    </a>
		</nav>
		<div class="content native-scroll"><!-- 每个页面的内容区域 -->
			<div class="page-index">
				<div class="content-block" style="margin-top: 0.5rem;margin-bottom: -1.5rem;">
					<div class="row">
					  <div class="col-33">
					  	<p class="pull-right">
					  		<span class="badge" style="background-color:#fff;border:1px solid #ff6600;color:#ff6600;">${sellervo.sellerTypeStr}</span>
					  	</p>
					  	<p class="pull-right">
					  		<span class="badge" style="background-color:#fff;border:1px solid #ff6600;color:#ff6600;">${sellervo.shortAddress}</span>
					  	</p>
					  </div>
				      <div class="col-33">
				      	<div style="width:4rem; height:4rem;margin-left: 0.9rem;">
				      		<img src="${sellervo.logo}" style="width:4rem; height:4rem;">
				      	</div>
				      	<div style="text-align: center;">${sellervo.sellerName}</div>
				      </div>
				      <div class="col-33">
				      	<p class="pull-left">
				      		<span class="badge" style="background-color:#fff;border:1px solid #ff6600;color:#ff6600;">
								<#if sellervo.levelNum=1>    <span class="iconfont icon-likefill" style="color:#721ea1;"></span>
						    	<#elseif sellervo.levelNum=2><span class="iconfont icon-likefill" style="color:#721ea1;"></span>
						    							<span class="iconfont icon-likefill" style="color:#721ea1;margin-left: -0.15rem;"></span>
						    	<#elseif sellervo.levelNum=3><span class="iconfont icon-likefill" style="color:#721ea1;"></span>
						    							<span class="iconfont icon-likefill" style="color:#721ea1;margin-left: -0.15rem;"></span>
						    							<span class="iconfont icon-likefill" style="color:#721ea1;margin-left: -0.15rem;"></span>
						    	<#elseif sellervo.levelNum=4><span class="iconfont icon-choicenessfill" style="color:#d3217b;"></span>
						    	<#elseif sellervo.levelNum=5><span class="iconfont icon-choicenessfill" style="color:#d3217b;"></span>
						    							<span class="iconfont icon-choicenessfill" style="color:#d3217b;margin-left: -0.15rem;"></span>
						    	<#elseif sellervo.levelNum=6><span class="iconfont icon-choicenessfill" style="color:#d3217b;"></span>
						    							<span class="iconfont icon-choicenessfill" style="color:#d3217b;margin-left: -0.15rem;"></span>
						    							<span class="iconfont icon-choicenessfill" style="color:#d3217b;margin-left: -0.15rem;"></span>
						    	<#elseif sellervo.levelNum=7><span class="iconfont icon-crownfill" style="color:#f16522;"></span>
						    	<#elseif sellervo.levelNum=8><span class="iconfont icon-crownfill" style="color:#f16522;"></span>
						    							<span class="iconfont icon-crownfill" style="color:#f16522;margin-left: -0.15rem;"></span>
						    	<#elseif sellervo.levelNum=9><span class="iconfont icon-crownfill" style="color:#f16522;"></span>
						    							<span class="iconfont icon-crownfill" style="color:#f16522;margin-left: -0.15rem;"></span>
						    							<span class="iconfont icon-crownfill" style="color:#f16522;margin-left: -0.15rem;"></span>
						    	</#if>
							</span>
				      	</p>
				      	<p class="pull-left">
					  		<span class="badge" style="background-color:#fff;border:1px solid #ff6600;color:#ff6600;">${sellervo.commuName}</span>
					  	</p>
				      </div>
				    </div>
				</div>
				
				<div class="list-block">
				    <ul>
				      <li class="item-content item-link" onclick="javascript:location.href='${path}/discounts/createScancode'">
				        <div class="item-media">
				        	<span class="iconfont icon-scan" style="font-size: 1.5rem;color: #f16522;"></span>
				        </div>
				        <div class="item-inner">
				          <div class="item-title">我的二维码</div>
				        </div>
				      </li>
				      <li class="item-content item-link">
				        <div class="item-media">
				        	<span class="iconfont icon-order" style="font-size: 1.5rem;color: #f16522;"></span>
				        </div>
				        <div class="item-inner">
				          <div class="item-title">我的升级</div>
				          <div class="item-after">
							<#if sellervo.levelNum=1>    <span class="iconfont icon-likefill" style="color:#721ea1;"></span>
						    	<#elseif sellervo.levelNum=2><span class="iconfont icon-likefill" style="color:#721ea1;"></span>
						    							<span class="iconfont icon-likefill" style="color:#721ea1;"></span>
						    	<#elseif sellervo.levelNum=3><span class="iconfont icon-likefill" style="color:#721ea1;"></span>
						    							<span class="iconfont icon-likefill" style="color:#721ea1;"></span>
						    							<span class="iconfont icon-likefill" style="color:#721ea1;"></span>
						    	<#elseif sellervo.levelNum=4><span class="iconfont icon-choicenessfill" style="color:#d3217b;"></span>
						    	<#elseif sellervo.levelNum=5><span class="iconfont icon-choicenessfill" style="color:#d3217b;"></span>
						    							<span class="iconfont icon-choicenessfill" style="color:#d3217b;"></span>
						    	<#elseif sellervo.levelNum=6><span class="iconfont icon-choicenessfill" style="color:#d3217b;"></span>
						    							<span class="iconfont icon-choicenessfill" style="color:#d3217b;"></span>
						    							<span class="iconfont icon-choicenessfill" style="color:#d3217b;"></span>
						    	<#elseif sellervo.levelNum=7><span class="iconfont icon-crownfill" style="color:#f16522;"></span>
						    	<#elseif sellervo.levelNum=8><span class="iconfont icon-crownfill" style="color:#f16522;"></span>
						    							<span class="iconfont icon-crownfill" style="color:#f16522;"></span>
						    	<#elseif sellervo.levelNum=9><span class="iconfont icon-crownfill" style="color:#f16522;"></span>
						    							<span class="iconfont icon-crownfill" style="color:#f16522;"></span>
						    							<span class="iconfont icon-crownfill" style="color:#f16522;"></span>
						    	</#if>							
						  </div>
				        </div>
				      </li>
				      <li class="item-content item-link">
				        <div class="item-media">
				        	<span class="iconfont icon-coin" style="font-size: 1.5rem;color: #f16522;"></span>
				        </div>
				        <div class="item-inner">
				          <div class="item-title">我的金币</div>
				          <div class="item-after"><span style="color: #f16522;margin-left:0.3rem">${sellervo.coins!0}</span></div>
				        </div>
				      </li>
				    </ul>
				</div>
			</div>	
		</div>
	</div>
</div>